//
//  StageControl.h
//  storeapp
//
//  Created by huangyi on 12-11-27.
//  Copyright (c) 2012年 ios. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface StageMgr : NSObject

@property(nonatomic,weak)UIWindow* rootStage;
@property(nonatomic,strong)NSMutableArray *states;

+(StageMgr*)shared;
-(void)loadStage:(NSString*)format,... NS_REQUIRES_NIL_TERMINATION;
-(id)stageViewController;

-(void)pushState:(NSString*)state;
-(NSString*)popState;
-(void)clearState;

@end

